.PHONY: sqlite_test

all: sqlite_test test

sqlite_test:sqlite_test.cc
	g++ -o $@ $^ -std=c++11 -lsqlite3 -lpthread

test:test.cc
	g++ -o $@ $^ -std=c++11 -lctemplate -lpthread

.PHNOY:clean
clean:
	rm -f sqlite_test test